//
//  BannerView.h
//  Civacrm
//
//  Created by 王桂敏 on 2017/2/4.
//  Copyright © 2017年 王桂敏. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol BannerViewDelegate <NSObject>

- (void)didSelectPageViewWithNumber:(NSInteger)selectNumber;

@end


@interface BannerView : UIView

@property (nonatomic, strong) NSArray *imageArray;
@property (nonatomic, assign) NSTimeInterval iDisplayTime;//广告图片轮播时停留的时间，默认0秒不会轮播
@property (nonatomic, assign, getter=isSDWebImage) BOOL isSDWebImage;//设置是否为网络图片
@property (nonatomic, assign) NSTimeInterval duration;
-(instancetype)initPageViewFrame:(CGRect)frame;

@property (nonatomic ,weak) id<BannerViewDelegate> delegate;

@end

